package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 执行动作管理对象 line_action
 * 
 * @author ruoyi
 * @date 2024-06-12
 */
public class LineAction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 动作名称 */
    @Excel(name = "动作名称")
    private String name;

    /** 动作类型，如短信提醒(1)、通知提醒(2)等 */
    @Excel(name = "动作类型，如短信提醒(1)、通知提醒(2)等")
    private Integer type;

    /** 参数值，根据动作类型，可以是温度值或硬件值*100取整处理等，按实际传回的值去推送 */
    @Excel(name = "参数值，根据动作类型，可以是温度值或硬件值*100取整处理等，按实际传回的值去推送")
    private Integer parameter;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setParameter(Integer parameter) 
    {
        this.parameter = parameter;
    }

    public Integer getParameter() 
    {
        return parameter;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("parameter", getParameter())
            .toString();
    }
}
